<%@page isErrorPage="true" contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Error</title>
        </head>
        <body>
            <rich:panel header="Error!" style="width:350px; height:350px; text-align:center; margin-left:auto; margin-right:auto;">
                <h1>Sorry, some error occured :-(</h1>
                <br/></br>
                Request that failed: ${pageContext.errorData.requestURI}
                <br />
                Status code: ${pageContext.errorData.statusCode}
                <br />
                Exception: ${pageContext.errorData.throwable}
                <br />
                ${pageContext.errorData.servletName}            
        </body>
    </html>